
from QCommand import QCommand, CmdIDGen
# event
from EventDefine import event_QCMD_GAMEPAUSE

class QCmdGamePause(QCommand):
    CMDID = CmdIDGen()
    CMDNAME = "QCmdGamePause"

    def Send(self):
        QCommand.InputSend(self, memberID = QCommand.MyMemberID, param = None)

    def Handle(self, memberID, param):
        # raise event
        messenger.send(event_QCMD_GAMEPAUSE, [memberID])
